﻿using IceDog.Lib.Poker;
using System;

namespace IceDog.Lib.Poker.PokerException
{
    public class CardOutOfRangeException:ApplicationException
    {
        private static string message = "值只能在1到52之间(包括1和52)";
        private CardList deckContents;

        public CardList DeckComtents
        {
            get
            {
                return deckContents;
            }
        }
        public CardOutOfRangeException(CardList cardList):base(message)
        {
            this.deckContents = cardList;
        }
    }
}
